package com.example.demo.service;

import com.example.demo.common.domain.Employee;
import com.example.demo.common.domain.Leave_Record;
import com.example.demo.common.domain.Record;

import java.util.List;

public interface EmployeeService{
    public Employee selectByPrimaryKey(Integer eid);

    public void daka();//实现打卡上下班的数据更新

    public List<Record> selectByEid(Integer eid);

    public List<Record> selectByEidDuring(Integer eid,Integer year, Integer month);

    public void insertLeave(Leave_Record leave_record);

    public void selectLeave();
}
